let mongoose=require('mongoose');

let Schema=mongoose.Schema;

let userSchema=new Schema({
    user:{
        type:String,
        required:true,
        unique:true
    },
    pwd:{
        type:String,
        required:true
    },
    email:{
        type:String,
        required:true,
        unique:true
    }
})

module.exports=mongoose.model('users',userSchema);
